package com.wyg.epdata.entity.reqDto;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: WangYongGan
 * @Date: 2022/3/3 16:23
 * @Description:
 */
@Data
public class EntityReq {
    private String entity;
    private String begin;
    private String end;
    private int n = 10;
    private Map<String, Object> param = new HashMap<>();

    public void setN(int n) {
        if (n <= 0)
            this.n = Integer.MAX_VALUE;
    }
}
